package com.zoro.dyformservice.business.user.controller;

import com.zoro.dyformservice.business.user.entity.UserInfoEntity;
import org.springframework.web.bind.annotation.*;

/**
 * @author zhaoxingwu
 */
@RestController
@RequestMapping("/login")
public class LoginController {

    @PostMapping("")
    public UserInfoEntity login(@RequestBody UserInfoEntity userInfo) {
        System.out.println(userInfo);
        return userInfo;
    }

}
